Adds an element to the end of the collection.
Class
TCustomCollection<T>
Syntax
function Add(Item: T): Integer; overload;
Parameters
Item
The element to be added to the end of the collection.
Return Value
A zero-based index of the added element.
Remarks
Use the method to add a new element to the collection.